/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utils;
import java.io.IOException;
import javax.microedition.lcdui.Image;

/**
 *
 * @author REX
 */
public class Utils {
     public Image loadImage(String ubicacion) {
        Image img = null;
        try {
            img = Image.createImage(ubicacion);
        } catch (IOException ioe) {
            System.out.println("No se pudo cargar La Imagen");
            System.out.println(ioe);
        } return img;
    }
}
